
package com.gamatechno.solodestinationnew;

import java.util.List;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.RatingBar;
import android.widget.TextView;

import com.gamatechno.solodestinationnew.entity.E_Komentar;
import com.google.android.gms.maps.model.LatLng;

public class SearchDetailActivity extends BaseActivity {

    private TextView title, distance;
    private WebView description;
    private ImageView img;
    private RatingBar rating;
    private ImageView btnMap;

    private Bundle data;
    private int category;
    private ProgressBar pBar;
    private int locationID;
    private LatLng loc;
    private LinearLayout containerKomentar;
    private List<E_Komentar> listKomentar;
    private LayoutInflater inflater;
    private Button btnKomentar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_detail_location);

        inflater = LayoutInflater.from(this);

        title = (TextView) findViewById(R.id.title);
        rating = (RatingBar) findViewById(R.id.rating);
        img = (ImageView) findViewById(R.id.img_banner_detail_location);
        pBar = (ProgressBar) findViewById(R.id.loader);
        distance = (TextView) findViewById(R.id.txt_distance);
        description = (WebView) findViewById(R.id.wv_description);
        btnMap = (ImageView) findViewById(R.id.btn_map);
        btnKomentar = (Button) findViewById(R.id.btn_komentar);
        containerKomentar = (LinearLayout) findViewById(R.id.container_komentar);

    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        // getMenuInflater().inflate(R.menu.search_detail, menu);
        return true;
    }

}
